﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DangNhap.ascx.cs" Inherits="Web.DangNhap" %>
    
     <div class"left_box">
    <div class="left_header">
    <p>
        <asp:Label ID="Lbheader" runat="server" Text="Đăng nhập"></asp:Label>
        </p>
    </div>
         <asp:Panel ID="Pndangnhap" runat="server">
        
    <table>
    <tr>
    <td>Tên đăng nhập</td>
    <td>
        <asp:TextBox ID="Txtusername" runat="server" Width="99px"></asp:TextBox></td>
    </tr>
        <tr>
    <td>Mật khẩu</td>
    <td>
        <asp:TextBox ID="TextBoxpassdn" runat="server" Width="99px"></asp:TextBox></td>
    </tr>
    <tr>
    <td colspan="2"><asp:Label ID="Labeldangnhapthongbao" ForeColor="Red" runat="server" Text=""></asp:Label></td>
    </tr>
    <tr>
    <td align="center" colspan="2">
        <asp:Button ID="btndangnhap" runat="server" Text="Đăng nhập" 
            onclick="btndangnhap_Click" />
        </td>
        </tr>
    </table>
     </asp:Panel>
     
         <asp:Panel ID="Pndangxuat" runat="server">
             <table width="190px">
    <tr>
    <td colspan="2" align="center">Xin chào:   <asp:Label ID="Lbusername" runat="server" Font-Bold="true" 
            ForeColor="Red" Text=""></asp:Label>
        </td>
    </tr>
    <tr>
    <td colspan="2"><asp:Label ID="Label1" ForeColor="Red" runat="server" Text=""></asp:Label></td>
    </tr>
    <tr>
    <td align="center" colspan="2">
        <asp:Button ID="BtnThoat" runat="server" Text="Thoát" 
            onclick="BtnThoat_Click"  />
        </td>
        </tr>
    </table>
         </asp:Panel>
     
    </div>